//反例
const index = 0;
export function array1(arg: string[]): void {
  console.info(`${arg[index]}`);
}

export function array2(arg: (string[])[]): void {
  console.info(`${arg[index][index]}`);
}
export function array3(arg: [string, number]): void {
  console.info(`${arg[index][index]}`);
}

export function array4(arg: [string[], number]): void {
  console.info(`${arg[index][index]}`);
}